package com.fa4j.common.web.config;

import com.fa4j.common.web.model.ServiceMode;
import com.fa4j.common.web.model.WebLogProps;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "fa4j.web")
public class CommonWebPropsConfig {

    /**
     * 服务模式
     */
    private ServiceMode mode = ServiceMode.STANDALONE;

    /**
     * 日志配置
     */
    private WebLogProps log = new WebLogProps();
}
